home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
United Public Domain Gold 2
/
United Public Domain Gold 2.iso
/
utilities
/
pu316.dms
/
pu316.adf
/
spool
/
spool.doc
< prev
Wrap
Text File
|
1988-04-18
|
3KB
|
95 lines
Amiga Print Spooler
-------------------
**************************************************************
Spool and LP are Copyright (c) 1988 Martin Fisher.
They may be copied to bulletin boards etc freely, but
if you like (and use) the programs then you should perhaps
send me a small contribution.
Commercial distribution (of any kind) is forbidden without
my permission - some renumeration will be required!
**************************************************************
The programs Spool and Lp correct a failing (it seems to me) of
AmigaDOS - the difficulty of printing files (especially in the
background). They provide a UNIX style LP command, a proper
print queue, and some buffering of files.
To use the spooler, copy Spool and Lp to c:.
Run Spool (preferably in the startup-sequence).
lp commands (to print files etc)
Spool handles the printer device and print queue, and remains in
memory.
Spool only opens PRT: when necessary - this allows control
sequences to be sent to the printer (using copy * prt: etc) or
other programs to use prt: (or par:) (it also allows the printer
device to be purged from memory if required).
Lp is used to send commands to the spooler.
The following commands being supported:
lp filename - print filename.
lp -c n - cancel a print file.
lp -s - display print queue.
lp -q - remove spooler from memory.
Filenames may be quoted (eg "file 1" or 'file 1') if they contain
spaces (or start with a hyphen).
Multiple commands may be specified:
eg lp a b c -c3 -s (print a,b and c, cancel job 3, show status)
(this is the equivalent of lp a
lp b
lp c etc)
NB Commands after a Quit (-q) will be ignored.
Cancelling the file currently being printed is possible, but
the contents of the buffer (ie upto 5K) will be printed
before the file is cancelled. (Using AbortIO caused problems!)
About Spool and Lp
Both programs were written entirely in Modula-2 (M2S), and are
hereby submitted as Shareware to the Amiga population. So
share and enjoy (but please give people a copy of these
instructions with the copyright message intact).
Comments (or even contributions) can be sent to me
Martin Fisher
2 Castle Street
Thornbury
Bristol
BS12 1HB
ENGLAND
Comments can also be sent to me on CIX (0483-573337) (mfisher).
Source will only be available on request.
Future developments.
A wildcard facility is the main improvement I would like to see,
and may be forthcoming if I get some feedback.
It would be nice to make Spool terminate and stay resident -
any recommendations as to where I can get a description of
how to do this would be much appreciated (any language).
Martin Fisher.